module AboutWindow
  class About
    def initialize
      puts "Intiating About Dialog."
    
      @about = Gtk::AboutDialog.new
      @about.name = 'rBlog'
      @about.version = '0.1 svn'
      @about.copyright = '© 2007 Will Farrington <wcfarrington@gmail.com>'
      @about.comments = 'rBlog is a fledgling, minimalist blogging application for GNOME.'
      @about.license = File.read(File.join(RBLOG_DIR, "LICENSE"))
      @about.website = 'http://code.google.com/p/r-blog'
      @about.authors = ["Will Farrington"]
      @about.logo_icon_name = 'web-browser'
      @about.signal_connect('response') { @about.hide }
    
      @about.show
    end
  end
end
